from django.contrib import admin
from .models import Complaint
class ComplaintManager(admin.ModelAdmin):
    list_display = ['content','phone','order','date_time']
    list_display_links = ['content','phone','order']
    list_editable = []
    list_filter = ['phone','order']
    search_fields = ['phone','order','date_time']
admin.site.register(Complaint,ComplaintManager)
